package org.springblade.mes.logistics.businessType.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.springblade.mes.logistics.businessType.entity.BusinessType;
import org.springblade.mes.logistics.businessType.model.BusinessTypeBean;

import java.util.List;

@DS("logistics")
public interface BusinessTypeMapper extends BaseMapper<BusinessType> {

    List<BusinessTypeBean> queryList(@Param("entity") BusinessTypeBean entity);

    List<BusinessTypeBean> queryPageList(IPage page, @Param("entity") BusinessTypeBean entity);

}
